package com.chance.cc.crawler.prod.command.schedule.news.foodmate;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.meta.foodmate.FoodMateRealtimeCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

public class FoodMateArticleCrawlerJobSchedule extends CommonCrawlerJobSchedule {
    public static void main(String[] args) {
        //信息采集
        publicCrawlerScheduleJob(FoodMateRealtimeCrawlerScheduleJob.crawlerScheduler());
        //delCrawlerScheduleJob(FoodMateRealtimeCrawlerScheduleJob.crawlerScheduler());
    }

    private static void publicCrawlerScheduleJob(CrawlerJob crawlerScheduler) {
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerScheduler.generateCrawlerTriggerKey(),device_name_3);
    }

    public static void delCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);
    }
}
